from ttk import Frame, Label, Style
from Tkinter import Tk, BOTH, Listbox, StringVar, END

class ListboxWidget(Frame):
    def __init__(self, parent):
        Frame.__init__(self, parent, style="My.TFrame")
        
        self.parent = parent
        
        self.initUI()
        
    def initUI(self):
        self.parent.title("Listbox")
        
        self.pack(fill=BOTH, expand=1)
        
        acts = ['Scarlett Johansson', 'Rachel Weiss', 'Natalie Portman', 'Jessica Alba']
        lb = Listbox(self)
        for i in acts:
            lb.insert(END, i)

        lb.bind("<<ListboxSelect>>", self.onLbSelect)
        
        lb.place(x=20, y=20)
        
        self.var = StringVar()
        self.label = Label(self, text=0, textvariable=self.var)
        self.label.place(x=20, y=210)
        
    def onLbSelect(self, val):
        sender = val.widget
        self.var.set(sender.get(sender.curselection()))

def main():
    root = Tk()
    root.geometry("300x250+300+300")
    app = ListboxWidget(root)
    root.mainloop()  
    
if __name__ == '__main__':
    main()